package xiaof.mapper;

import org.apache.ibatis.annotations.Select;
import xiaof.domain.Order;

import java.util.List;

public interface RoleMapper {
    @Select("select * from sys_user_role ur,sys_role r where ur.roleid=r.id and ur.userid=#{id}" )
    public List<Order> findByUid(int id);
}
